package com.rambler.extension.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.rambler.common.entity.BaseEntity;
import lombok.*;

import java.io.Serial;
import java.util.Date;

/**
 * 用户与搜索引擎关联表
 * @author Suhao
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("ext_engine_user_rel")
public class ExtEngineUserRel extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 搜索引擎ID
     */
    @TableField("engine_id")
    private Integer engineId;

    /**
     * 是否启用：1=启用，0=禁用
     */
    @TableField("enabled")
    private Integer enabled;

}
